package com.hospital.pojo;

import java.util.ArrayList;
import java.util.List;

public class YpbExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YpbExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andYpidIsNull() {
            addCriterion("ypId is null");
            return (Criteria) this;
        }

        public Criteria andYpidIsNotNull() {
            addCriterion("ypId is not null");
            return (Criteria) this;
        }

        public Criteria andYpidEqualTo(Integer value) {
            addCriterion("ypId =", value, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidNotEqualTo(Integer value) {
            addCriterion("ypId <>", value, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidGreaterThan(Integer value) {
            addCriterion("ypId >", value, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ypId >=", value, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidLessThan(Integer value) {
            addCriterion("ypId <", value, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidLessThanOrEqualTo(Integer value) {
            addCriterion("ypId <=", value, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidIn(List<Integer> values) {
            addCriterion("ypId in", values, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidNotIn(List<Integer> values) {
            addCriterion("ypId not in", values, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidBetween(Integer value1, Integer value2) {
            addCriterion("ypId between", value1, value2, "ypid");
            return (Criteria) this;
        }

        public Criteria andYpidNotBetween(Integer value1, Integer value2) {
            addCriterion("ypId not between", value1, value2, "ypid");
            return (Criteria) this;
        }

        public Criteria andYptpdzIsNull() {
            addCriterion("YPTPDZ is null");
            return (Criteria) this;
        }

        public Criteria andYptpdzIsNotNull() {
            addCriterion("YPTPDZ is not null");
            return (Criteria) this;
        }

        public Criteria andYptpdzEqualTo(String value) {
            addCriterion("YPTPDZ =", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzNotEqualTo(String value) {
            addCriterion("YPTPDZ <>", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzGreaterThan(String value) {
            addCriterion("YPTPDZ >", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzGreaterThanOrEqualTo(String value) {
            addCriterion("YPTPDZ >=", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzLessThan(String value) {
            addCriterion("YPTPDZ <", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzLessThanOrEqualTo(String value) {
            addCriterion("YPTPDZ <=", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzLike(String value) {
            addCriterion("YPTPDZ like", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzNotLike(String value) {
            addCriterion("YPTPDZ not like", value, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzIn(List<String> values) {
            addCriterion("YPTPDZ in", values, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzNotIn(List<String> values) {
            addCriterion("YPTPDZ not in", values, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzBetween(String value1, String value2) {
            addCriterion("YPTPDZ between", value1, value2, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andYptpdzNotBetween(String value1, String value2) {
            addCriterion("YPTPDZ not between", value1, value2, "yptpdz");
            return (Criteria) this;
        }

        public Criteria andJjIsNull() {
            addCriterion("JJ is null");
            return (Criteria) this;
        }

        public Criteria andJjIsNotNull() {
            addCriterion("JJ is not null");
            return (Criteria) this;
        }

        public Criteria andJjEqualTo(Double value) {
            addCriterion("JJ =", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjNotEqualTo(Double value) {
            addCriterion("JJ <>", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjGreaterThan(Double value) {
            addCriterion("JJ >", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjGreaterThanOrEqualTo(Double value) {
            addCriterion("JJ >=", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjLessThan(Double value) {
            addCriterion("JJ <", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjLessThanOrEqualTo(Double value) {
            addCriterion("JJ <=", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjIn(List<Double> values) {
            addCriterion("JJ in", values, "jj");
            return (Criteria) this;
        }

        public Criteria andJjNotIn(List<Double> values) {
            addCriterion("JJ not in", values, "jj");
            return (Criteria) this;
        }

        public Criteria andJjBetween(Double value1, Double value2) {
            addCriterion("JJ between", value1, value2, "jj");
            return (Criteria) this;
        }

        public Criteria andJjNotBetween(Double value1, Double value2) {
            addCriterion("JJ not between", value1, value2, "jj");
            return (Criteria) this;
        }

        public Criteria andSjIsNull() {
            addCriterion("SJ is null");
            return (Criteria) this;
        }

        public Criteria andSjIsNotNull() {
            addCriterion("SJ is not null");
            return (Criteria) this;
        }

        public Criteria andSjEqualTo(Double value) {
            addCriterion("SJ =", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjNotEqualTo(Double value) {
            addCriterion("SJ <>", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjGreaterThan(Double value) {
            addCriterion("SJ >", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjGreaterThanOrEqualTo(Double value) {
            addCriterion("SJ >=", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjLessThan(Double value) {
            addCriterion("SJ <", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjLessThanOrEqualTo(Double value) {
            addCriterion("SJ <=", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjIn(List<Double> values) {
            addCriterion("SJ in", values, "sj");
            return (Criteria) this;
        }

        public Criteria andSjNotIn(List<Double> values) {
            addCriterion("SJ not in", values, "sj");
            return (Criteria) this;
        }

        public Criteria andSjBetween(Double value1, Double value2) {
            addCriterion("SJ between", value1, value2, "sj");
            return (Criteria) this;
        }

        public Criteria andSjNotBetween(Double value1, Double value2) {
            addCriterion("SJ not between", value1, value2, "sj");
            return (Criteria) this;
        }

        public Criteria andYpmcIsNull() {
            addCriterion("YPMC is null");
            return (Criteria) this;
        }

        public Criteria andYpmcIsNotNull() {
            addCriterion("YPMC is not null");
            return (Criteria) this;
        }

        public Criteria andYpmcEqualTo(String value) {
            addCriterion("YPMC =", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcNotEqualTo(String value) {
            addCriterion("YPMC <>", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcGreaterThan(String value) {
            addCriterion("YPMC >", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcGreaterThanOrEqualTo(String value) {
            addCriterion("YPMC >=", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcLessThan(String value) {
            addCriterion("YPMC <", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcLessThanOrEqualTo(String value) {
            addCriterion("YPMC <=", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcLike(String value) {
            addCriterion("YPMC like", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcNotLike(String value) {
            addCriterion("YPMC not like", value, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcIn(List<String> values) {
            addCriterion("YPMC in", values, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcNotIn(List<String> values) {
            addCriterion("YPMC not in", values, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcBetween(String value1, String value2) {
            addCriterion("YPMC between", value1, value2, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYpmcNotBetween(String value1, String value2) {
            addCriterion("YPMC not between", value1, value2, "ypmc");
            return (Criteria) this;
        }

        public Criteria andYplxIsNull() {
            addCriterion("YPLX is null");
            return (Criteria) this;
        }

        public Criteria andYplxIsNotNull() {
            addCriterion("YPLX is not null");
            return (Criteria) this;
        }

        public Criteria andYplxEqualTo(Integer value) {
            addCriterion("YPLX =", value, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxNotEqualTo(Integer value) {
            addCriterion("YPLX <>", value, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxGreaterThan(Integer value) {
            addCriterion("YPLX >", value, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxGreaterThanOrEqualTo(Integer value) {
            addCriterion("YPLX >=", value, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxLessThan(Integer value) {
            addCriterion("YPLX <", value, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxLessThanOrEqualTo(Integer value) {
            addCriterion("YPLX <=", value, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxIn(List<Integer> values) {
            addCriterion("YPLX in", values, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxNotIn(List<Integer> values) {
            addCriterion("YPLX not in", values, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxBetween(Integer value1, Integer value2) {
            addCriterion("YPLX between", value1, value2, "yplx");
            return (Criteria) this;
        }

        public Criteria andYplxNotBetween(Integer value1, Integer value2) {
            addCriterion("YPLX not between", value1, value2, "yplx");
            return (Criteria) this;
        }

        public Criteria andJdmsIsNull() {
            addCriterion("JDMS is null");
            return (Criteria) this;
        }

        public Criteria andJdmsIsNotNull() {
            addCriterion("JDMS is not null");
            return (Criteria) this;
        }

        public Criteria andJdmsEqualTo(String value) {
            addCriterion("JDMS =", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsNotEqualTo(String value) {
            addCriterion("JDMS <>", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsGreaterThan(String value) {
            addCriterion("JDMS >", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsGreaterThanOrEqualTo(String value) {
            addCriterion("JDMS >=", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsLessThan(String value) {
            addCriterion("JDMS <", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsLessThanOrEqualTo(String value) {
            addCriterion("JDMS <=", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsLike(String value) {
            addCriterion("JDMS like", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsNotLike(String value) {
            addCriterion("JDMS not like", value, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsIn(List<String> values) {
            addCriterion("JDMS in", values, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsNotIn(List<String> values) {
            addCriterion("JDMS not in", values, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsBetween(String value1, String value2) {
            addCriterion("JDMS between", value1, value2, "jdms");
            return (Criteria) this;
        }

        public Criteria andJdmsNotBetween(String value1, String value2) {
            addCriterion("JDMS not between", value1, value2, "jdms");
            return (Criteria) this;
        }

        public Criteria andScrqIsNull() {
            addCriterion("SCRQ is null");
            return (Criteria) this;
        }

        public Criteria andScrqIsNotNull() {
            addCriterion("SCRQ is not null");
            return (Criteria) this;
        }

        public Criteria andScrqEqualTo(String value) {
            addCriterion("SCRQ =", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqNotEqualTo(String value) {
            addCriterion("SCRQ <>", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqGreaterThan(String value) {
            addCriterion("SCRQ >", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqGreaterThanOrEqualTo(String value) {
            addCriterion("SCRQ >=", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqLessThan(String value) {
            addCriterion("SCRQ <", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqLessThanOrEqualTo(String value) {
            addCriterion("SCRQ <=", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqLike(String value) {
            addCriterion("SCRQ like", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqNotLike(String value) {
            addCriterion("SCRQ not like", value, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqIn(List<String> values) {
            addCriterion("SCRQ in", values, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqNotIn(List<String> values) {
            addCriterion("SCRQ not in", values, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqBetween(String value1, String value2) {
            addCriterion("SCRQ between", value1, value2, "scrq");
            return (Criteria) this;
        }

        public Criteria andScrqNotBetween(String value1, String value2) {
            addCriterion("SCRQ not between", value1, value2, "scrq");
            return (Criteria) this;
        }

        public Criteria andGqrqIsNull() {
            addCriterion("GQRQ is null");
            return (Criteria) this;
        }

        public Criteria andGqrqIsNotNull() {
            addCriterion("GQRQ is not null");
            return (Criteria) this;
        }

        public Criteria andGqrqEqualTo(String value) {
            addCriterion("GQRQ =", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqNotEqualTo(String value) {
            addCriterion("GQRQ <>", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqGreaterThan(String value) {
            addCriterion("GQRQ >", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqGreaterThanOrEqualTo(String value) {
            addCriterion("GQRQ >=", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqLessThan(String value) {
            addCriterion("GQRQ <", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqLessThanOrEqualTo(String value) {
            addCriterion("GQRQ <=", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqLike(String value) {
            addCriterion("GQRQ like", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqNotLike(String value) {
            addCriterion("GQRQ not like", value, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqIn(List<String> values) {
            addCriterion("GQRQ in", values, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqNotIn(List<String> values) {
            addCriterion("GQRQ not in", values, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqBetween(String value1, String value2) {
            addCriterion("GQRQ between", value1, value2, "gqrq");
            return (Criteria) this;
        }

        public Criteria andGqrqNotBetween(String value1, String value2) {
            addCriterion("GQRQ not between", value1, value2, "gqrq");
            return (Criteria) this;
        }

        public Criteria andBzqIsNull() {
            addCriterion("BZQ is null");
            return (Criteria) this;
        }

        public Criteria andBzqIsNotNull() {
            addCriterion("BZQ is not null");
            return (Criteria) this;
        }

        public Criteria andBzqEqualTo(Integer value) {
            addCriterion("BZQ =", value, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqNotEqualTo(Integer value) {
            addCriterion("BZQ <>", value, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqGreaterThan(Integer value) {
            addCriterion("BZQ >", value, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqGreaterThanOrEqualTo(Integer value) {
            addCriterion("BZQ >=", value, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqLessThan(Integer value) {
            addCriterion("BZQ <", value, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqLessThanOrEqualTo(Integer value) {
            addCriterion("BZQ <=", value, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqIn(List<Integer> values) {
            addCriterion("BZQ in", values, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqNotIn(List<Integer> values) {
            addCriterion("BZQ not in", values, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqBetween(Integer value1, Integer value2) {
            addCriterion("BZQ between", value1, value2, "bzq");
            return (Criteria) this;
        }

        public Criteria andBzqNotBetween(Integer value1, Integer value2) {
            addCriterion("BZQ not between", value1, value2, "bzq");
            return (Criteria) this;
        }

        public Criteria andXxmsIsNull() {
            addCriterion("XXMS is null");
            return (Criteria) this;
        }

        public Criteria andXxmsIsNotNull() {
            addCriterion("XXMS is not null");
            return (Criteria) this;
        }

        public Criteria andXxmsEqualTo(String value) {
            addCriterion("XXMS =", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsNotEqualTo(String value) {
            addCriterion("XXMS <>", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsGreaterThan(String value) {
            addCriterion("XXMS >", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsGreaterThanOrEqualTo(String value) {
            addCriterion("XXMS >=", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsLessThan(String value) {
            addCriterion("XXMS <", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsLessThanOrEqualTo(String value) {
            addCriterion("XXMS <=", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsLike(String value) {
            addCriterion("XXMS like", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsNotLike(String value) {
            addCriterion("XXMS not like", value, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsIn(List<String> values) {
            addCriterion("XXMS in", values, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsNotIn(List<String> values) {
            addCriterion("XXMS not in", values, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsBetween(String value1, String value2) {
            addCriterion("XXMS between", value1, value2, "xxms");
            return (Criteria) this;
        }

        public Criteria andXxmsNotBetween(String value1, String value2) {
            addCriterion("XXMS not between", value1, value2, "xxms");
            return (Criteria) this;
        }

        public Criteria andSccsIsNull() {
            addCriterion("SCCS is null");
            return (Criteria) this;
        }

        public Criteria andSccsIsNotNull() {
            addCriterion("SCCS is not null");
            return (Criteria) this;
        }

        public Criteria andSccsEqualTo(String value) {
            addCriterion("SCCS =", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsNotEqualTo(String value) {
            addCriterion("SCCS <>", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsGreaterThan(String value) {
            addCriterion("SCCS >", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsGreaterThanOrEqualTo(String value) {
            addCriterion("SCCS >=", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsLessThan(String value) {
            addCriterion("SCCS <", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsLessThanOrEqualTo(String value) {
            addCriterion("SCCS <=", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsLike(String value) {
            addCriterion("SCCS like", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsNotLike(String value) {
            addCriterion("SCCS not like", value, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsIn(List<String> values) {
            addCriterion("SCCS in", values, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsNotIn(List<String> values) {
            addCriterion("SCCS not in", values, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsBetween(String value1, String value2) {
            addCriterion("SCCS between", value1, value2, "sccs");
            return (Criteria) this;
        }

        public Criteria andSccsNotBetween(String value1, String value2) {
            addCriterion("SCCS not between", value1, value2, "sccs");
            return (Criteria) this;
        }

        public Criteria andFysmIsNull() {
            addCriterion("FYSM is null");
            return (Criteria) this;
        }

        public Criteria andFysmIsNotNull() {
            addCriterion("FYSM is not null");
            return (Criteria) this;
        }

        public Criteria andFysmEqualTo(String value) {
            addCriterion("FYSM =", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmNotEqualTo(String value) {
            addCriterion("FYSM <>", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmGreaterThan(String value) {
            addCriterion("FYSM >", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmGreaterThanOrEqualTo(String value) {
            addCriterion("FYSM >=", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmLessThan(String value) {
            addCriterion("FYSM <", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmLessThanOrEqualTo(String value) {
            addCriterion("FYSM <=", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmLike(String value) {
            addCriterion("FYSM like", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmNotLike(String value) {
            addCriterion("FYSM not like", value, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmIn(List<String> values) {
            addCriterion("FYSM in", values, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmNotIn(List<String> values) {
            addCriterion("FYSM not in", values, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmBetween(String value1, String value2) {
            addCriterion("FYSM between", value1, value2, "fysm");
            return (Criteria) this;
        }

        public Criteria andFysmNotBetween(String value1, String value2) {
            addCriterion("FYSM not between", value1, value2, "fysm");
            return (Criteria) this;
        }

        public Criteria andZjhlIsNull() {
            addCriterion("ZJHL is null");
            return (Criteria) this;
        }

        public Criteria andZjhlIsNotNull() {
            addCriterion("ZJHL is not null");
            return (Criteria) this;
        }

        public Criteria andZjhlEqualTo(Integer value) {
            addCriterion("ZJHL =", value, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlNotEqualTo(Integer value) {
            addCriterion("ZJHL <>", value, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlGreaterThan(Integer value) {
            addCriterion("ZJHL >", value, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlGreaterThanOrEqualTo(Integer value) {
            addCriterion("ZJHL >=", value, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlLessThan(Integer value) {
            addCriterion("ZJHL <", value, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlLessThanOrEqualTo(Integer value) {
            addCriterion("ZJHL <=", value, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlIn(List<Integer> values) {
            addCriterion("ZJHL in", values, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlNotIn(List<Integer> values) {
            addCriterion("ZJHL not in", values, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlBetween(Integer value1, Integer value2) {
            addCriterion("ZJHL between", value1, value2, "zjhl");
            return (Criteria) this;
        }

        public Criteria andZjhlNotBetween(Integer value1, Integer value2) {
            addCriterion("ZJHL not between", value1, value2, "zjhl");
            return (Criteria) this;
        }

        public Criteria andSylIsNull() {
            addCriterion("SYL is null");
            return (Criteria) this;
        }

        public Criteria andSylIsNotNull() {
            addCriterion("SYL is not null");
            return (Criteria) this;
        }

        public Criteria andSylEqualTo(Integer value) {
            addCriterion("SYL =", value, "syl");
            return (Criteria) this;
        }

        public Criteria andSylNotEqualTo(Integer value) {
            addCriterion("SYL <>", value, "syl");
            return (Criteria) this;
        }

        public Criteria andSylGreaterThan(Integer value) {
            addCriterion("SYL >", value, "syl");
            return (Criteria) this;
        }

        public Criteria andSylGreaterThanOrEqualTo(Integer value) {
            addCriterion("SYL >=", value, "syl");
            return (Criteria) this;
        }

        public Criteria andSylLessThan(Integer value) {
            addCriterion("SYL <", value, "syl");
            return (Criteria) this;
        }

        public Criteria andSylLessThanOrEqualTo(Integer value) {
            addCriterion("SYL <=", value, "syl");
            return (Criteria) this;
        }

        public Criteria andSylIn(List<Integer> values) {
            addCriterion("SYL in", values, "syl");
            return (Criteria) this;
        }

        public Criteria andSylNotIn(List<Integer> values) {
            addCriterion("SYL not in", values, "syl");
            return (Criteria) this;
        }

        public Criteria andSylBetween(Integer value1, Integer value2) {
            addCriterion("SYL between", value1, value2, "syl");
            return (Criteria) this;
        }

        public Criteria andSylNotBetween(Integer value1, Integer value2) {
            addCriterion("SYL not between", value1, value2, "syl");
            return (Criteria) this;
        }

        public Criteria andZtIsNull() {
            addCriterion("ZT is null");
            return (Criteria) this;
        }

        public Criteria andZtIsNotNull() {
            addCriterion("ZT is not null");
            return (Criteria) this;
        }

        public Criteria andZtEqualTo(Integer value) {
            addCriterion("ZT =", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtNotEqualTo(Integer value) {
            addCriterion("ZT <>", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtGreaterThan(Integer value) {
            addCriterion("ZT >", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtGreaterThanOrEqualTo(Integer value) {
            addCriterion("ZT >=", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtLessThan(Integer value) {
            addCriterion("ZT <", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtLessThanOrEqualTo(Integer value) {
            addCriterion("ZT <=", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtIn(List<Integer> values) {
            addCriterion("ZT in", values, "zt");
            return (Criteria) this;
        }

        public Criteria andZtNotIn(List<Integer> values) {
            addCriterion("ZT not in", values, "zt");
            return (Criteria) this;
        }

        public Criteria andZtBetween(Integer value1, Integer value2) {
            addCriterion("ZT between", value1, value2, "zt");
            return (Criteria) this;
        }

        public Criteria andZtNotBetween(Integer value1, Integer value2) {
            addCriterion("ZT not between", value1, value2, "zt");
            return (Criteria) this;
        }

        public Criteria andBzIsNull() {
            addCriterion("BZ is null");
            return (Criteria) this;
        }

        public Criteria andBzIsNotNull() {
            addCriterion("BZ is not null");
            return (Criteria) this;
        }

        public Criteria andBzEqualTo(String value) {
            addCriterion("BZ =", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotEqualTo(String value) {
            addCriterion("BZ <>", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThan(String value) {
            addCriterion("BZ >", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThanOrEqualTo(String value) {
            addCriterion("BZ >=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThan(String value) {
            addCriterion("BZ <", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThanOrEqualTo(String value) {
            addCriterion("BZ <=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLike(String value) {
            addCriterion("BZ like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotLike(String value) {
            addCriterion("BZ not like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzIn(List<String> values) {
            addCriterion("BZ in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotIn(List<String> values) {
            addCriterion("BZ not in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzBetween(String value1, String value2) {
            addCriterion("BZ between", value1, value2, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotBetween(String value1, String value2) {
            addCriterion("BZ not between", value1, value2, "bz");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}